<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
    <title>Welcome to EHMN</title>
<body>
  {% if form.errors %}
  <p class="errors">Please correct the errors below: {{ form.non_field_errors }}</p>
  {% endif %}

  <h1>Create an account</h1>
  <b>EHMN is free for academic use, please fill true information about your name and institute in the form below. You need to use your institute email for registration. Your application will 
  not be processed if your information is not complete. For commercial users please contact ehmncsb at gmail.com for license requirements.</b>
  <form method="post" action="{% url human.register.views.register %}" class="wide">
	 {% csrf_token %}
    <p>
      <label for="id_username">Full name:</label>
      {% if form.username.errors %}
        <p class="errors">{{ form.username.errors.as_text }}</p>
      {% endif %}
      {{ form.username }}
    </p>
    <p>
      <label for="id_department">Department:</label>
      {% if form.department.errors %}
        <p class="errors">{{ form.department.errors.as_text }}</p>
      {% endif %}
      {{ form.department }}
    </p>
    <p>
      <label for="id_institute">Institute:</label>
      {% if form.institute.errors %}
        <p class="errors">{{ form.institute.errors.as_text }}</p>
      {% endif %}
      {{ form.institute }}
    </p>
    <p>
      <label for="id_web">Web address:</label>
      {% if form.web.errors %}
        <p class="errors">{{ form.web.errors.as_text }}</p>
      {% endif %}
      {{ form.web }}
    </p>
    <p>
      <label for="id_email">Email:</label>
      {% if form.email.errors %}
        <p class="errors">{{ form.email.errors.as_text }}</p>
      {% endif %}
      {{ form.email }} (Please be noted that free email addresses such as that from hotmail, gamil are not accepted)
    </p>
    <p class="submit"><input type="submit" value="Register"></p>
  </form>	 
  <p><b>Fill out the form (all fields are required), and your
	account will be created; you'll be sent an email with the username and password 
	to access the database/service.</b></p>

</body>
</html>
